﻿using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;
using System.Text;

namespace Core.SimpleTemp.Application


{
    [CreateMap(typeof(ZY_ConfirmSignature))]
    public class ZY_ConfirmSignatureDto : Dto
    {
        /// <summary>
        /// 表格类型
        /// </summary>
        public string TableType { get; set; }
        /// <summary>
        /// 表格主键ID
        /// </summary>
        public Guid? PrimaryId { get; set; }
        /// <summary>
        /// 签字类型代码
        /// </summary>
        public String SignatureTypeCode { get; set; }
        /// <summary>
        /// 签字类型名称
        /// </summary>
        public String SignatureTypeName { get; set; }
        /// <summary>
        /// 确认部门
        /// </summary>
        public Guid? SignatureDept { get; set; }
        [ConcurrentKeyToValue("9009", "SignatureDept")]
        public String SignatureDeptText { get; set; }
        /// <summary>
        /// 确认用户
        /// </summary>
        public Guid? SignatureUser { get; set; }
        [ConcurrentKeyToValue("9008", "SignatureUser")]
        public string SignatureUserText { get; set; }
        /// <summary>
        /// 是否已经通知
        /// </summary>
        public String IsMessage { get; set; }
        /// <summary>
        /// 签字附件ID
        /// </summary>
        public Guid? SignaturePicID { get; set; }
        /// <summary>
        /// 签字附件名称
        /// </summary>
        public String SignaturePicName { get; set; }
        /// <summary>
        /// 签字日期
        /// </summary>
        public DateTime? SignatureTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }
        /// <summary>
        /// 是否已签字(默认空/已签字/不签字)
        /// </summary>
        public String IsSignature { get; set; }
    }
}
